package com.neusoft.neuiotms.dcom.service.change;

import com.neusoft.bizcore.auth.common.bean.UserBean;
import com.neusoft.neuiotms.dcom.dto.change.ChangePlanDTO;

public interface ChangePlanService {

    ChangePlanDTO create(final ChangePlanDTO dto, UserBean user);

    ChangePlanDTO detail(String workOrderNum, String taskId, UserBean user);

    ChangePlanDTO findByWorkOrderNumAndTaskId(String workOrderNum, String taskId);

    void deleteByWorkOrderNum(String workOrderNum);

    void deleteMongoFile(String fsId);

    ChangePlanDTO findByWorkNum(String workOrderNum);
}
